new Vue({
    el: '#app',
    data: {
        beforeSOFA: '',
        afterSOFA: '',
        beforeAP: '',
        AFTERAP: '',
        inputTab:''
    },
    methods: {
        goto() {
            if (this.beforeAP == '') {
                this.$toast('请填写治疗前SOFA评分')
            } else if (this.afterSOFA == '') {
                this.$toast('请填写治疗后SOFA评分')
            } else if (this.beforeAP == '') {
                this.$toast('请填写治疗前APACHE II 评分')
            } else if (this.AFTERAP == '') {
                this.$toast('请填写治疗后APACHE II 评分')
            }else if(this.inputTab==''){
                this.$toast('请选择填表日期')
            }
            else{
                localStorage.setItem("showBtn",5)
                window.location.href="inputCases.html"
            }
        }
    },
})